package com.rightsidetech.mall.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: yhr
 * @Date: 2022-01-12 15:42
 */
@Data
public class CommodityInfoResp implements Serializable {
    @ApiModelProperty("商品id")
    private Long id;

    @ApiModelProperty("基础商品id")
    private Long commodityId;

    @ApiModelProperty("规格条码")
    private String barCode;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("商品规格")
    private String commoditySpecs;

    @ApiModelProperty("图片")
    private String img;

    @ApiModelProperty("当前门店库存有无该商品 0有 1 无")
    private Byte haveCommodity = 1;
}
